home *** CD-ROM | disk | FTP | other *** search
/ Joystick Magazine 2000 November / cd joystick no120 novembre 2000 cd 1.iso / data / demos / gunlok / data1.cab / Program_Executable_Files / scripts / lob.gsh < prev    next >
Text File  |  2000-08-22  |  2KB  |  70 lines

  1. // defines LOB
  2. ////////////////////////////////////////////////////////////////////////////////////
  3.  
  4. // start wrapper - prevent multiple inclusions or recursive inclusions
  5.  
  6. //(this currently causes 'unrecognized preprocessor directive' warnings, until implemented)
  7. #ifndef INCLUDED_LOB_GSH
  8. #define INCLUDED_LOB_GSH
  9.  
  10. ////////////////////////////////////////////////////////////////////////////////////
  11. #include "defaults.gsh"
  12. #include "lasers.gsh"
  13. #include "lobfrag.gsh"
  14. hierarchy Hcy_Lob
  15. {
  16.     file "units\LOWlob.RIF"
  17.     name "lowlob"
  18.     hotspot "dumflash"
  19. }
  20.  
  21. hierarchy Hcy_HighPoly_Lob
  22. {
  23.     file "units\Lob.RIF"
  24.     name "lob"
  25.     hotspot "dumflash"
  26. }
  27.  
  28. hierarchy Hcy_Lob_Shadow
  29. {
  30.     file "units\lob_shadow.RIF"
  31.     name "lob_shadow"
  32. }
  33.  
  34. character Chr_Lob : Chr_DefaultBaddie
  35. {
  36.     turning speed   0.8    // this is in revolutions per second
  37.     walking speed   1.0    // this is in animation cycles per second
  38.     weapon            grenade launcher
  39.     strength        30    // initial strength points
  40.     aim             2    // how many degrees off target he can be at most
  41.     sight angle    25    // in degrees
  42.     sight range     15    // in metres
  43.     hearing range    12    // in metres
  44.     aggression    0.9    // from 0 to 1
  45.     gun yaw angle    0    // in degrees
  46.     //description        claw description
  47.     shadow hierarchy    Hcy_Lob_Shadow
  48. }
  49.  
  50. role Rol_Lob : Rol_DefaultRobot
  51. {
  52.     //shape                Hcy_Lob
  53.  
  54.     shape        Hcy_HighPoly_Lob
  55.  
  56.     character            Chr_Lob
  57.  
  58.     destructibility Frg_lob
  59.  
  60.     identifier            "lob"
  61.  
  62.     armour    2
  63.  
  64.     ai                    bot
  65. }
  66.  
  67. ////////////////////////////////////////////////////////////////////////////////////
  68.  
  69. // end wrapper - for preventing multiple or recursive inclusions
  70. #endif // !INCLUDED_LOB_GSH